package com.dayouzi.crawler_monitor.mapper;

import com.dayouzi.crawler_monitor.pojo.vo.PanelGroupVO;
import com.dayouzi.crawler_monitor.pojo.vo.RankDataVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DashboardMapper {
    PanelGroupVO getPanelGroupNum();

    List<Integer> getSpiderNum();

    List<Integer> getCountNum();

    List<Integer> getErrorNum();

    List<RankDataVO> getRankListData(String date);

    List<RankDataVO> getRankErrorData(String date);
}
